package studio.raptor.databus.command;

import java.io.Serializable;

/**
 * Created  on 2017/4/25.
 */
public class Event implements Serializable{
    /**
     * 事件基础数据
     */
    private EventBasicData eventBasicData ;
    /**
     * 事件业务数据
     */
    private EventBusinessData eventBusinessData;
    /**
     * 事件元信息
     */
    private EventMetaData eventMetaData ;


    public EventBasicData getEventBasicData() {
        return eventBasicData;
    }

    public void setEventBasicData(EventBasicData eventBasicData) {
        this.eventBasicData = eventBasicData;
    }

    public EventBusinessData getEventBusinessData() {
        return eventBusinessData;
    }

    public void setEventBusinessData(EventBusinessData eventBusinessData) {
        this.eventBusinessData = eventBusinessData;
    }

    public EventMetaData getEventMetaData() {
        return eventMetaData;
    }

    public void setEventMetaData(EventMetaData eventMetaData) {
        this.eventMetaData = eventMetaData;
    }

    public Event(EventBasicData eventBasicData, EventBusinessData eventBusinessData, EventMetaData eventMetaData) {
        this.eventBasicData = eventBasicData;
        this.eventBusinessData = eventBusinessData;
        this.eventMetaData = eventMetaData;
    }
}
